demoData = {
  'version': '1.0.0',
  'items': [{
    'anchor': {
      'type': 'Polygon',
      'vertices': [
        [-1009.23, -546.77, 16.74],
        [-1015.18, -556.84, 16.74],
        [-1015.22, -538.16, 16.74],
        [-1002.66, -538.33, 16.74],
        [-1002.83, -556.92, 16.74],
        [-1015.14, -556.88, 16.74],
        [-1015.22, -556.88, 16.74]
      ]
    },
    'offset': [0, 0, 5],
    'content': '<div style="background-color:rgba(255, 255, 255, 0.8);">消防告警区域<button onclick="alert(\'编号：1009\')">点我</button><br/>编号：1009</div>',
    'contentOffset': [0, 0],
    'appearance': { 'anchorColor': [1, 1, 0], 'offsetColor': [1, 0, 0] },
    'tag': '1009'
  }, {
    'anchor': {
      'type': 'Polygon',
      'vertices': [
        [-997.92, -547.27, 16.74],
        [-1002.49, -556.92, 16.74],
        [-1002.33, -538.37, 16.74],
        [-995.96, -538.2, 16.74],
        [-995.88, -557, 16.74],
        [-1002.45, -556.88, 16.74],
        [-1002.49, -556.8, 16.74]
      ]
    },
    'anchorDbid': 1572,
    'offset': [0, 0, 5],
    'content': '<div style="background-color:rgba(255, 255, 255, 0.8);">空间划分<br/>编号：1010</div>',
    'contentOffset': [0, 0],
    'appearance': { 'anchorColor': [0, 1, 0], 'offsetColor': [1, 0, 0] },
    'tag': '1010'
  }, {
    'anchor': {
      'type': 'Polygon',
      'vertices': [
        [-995.38, -538.24, 16.74],
        [-995.34, -556.96, 16.74],
        [-976.58, -557, 16.74],
        [-976.78, -538.41, 16.74]
      ]
    },
    'offset': [0, 0, 5],
    'content': '<div style="background-color:rgba(255, 255, 255, 0.8);">消防报警范围<br/>编号：1011</div>',
    'contentOffset': [0, 0],
    'appearance': { 'anchorColor': [1, 1, 0], 'offsetColor': [1, 0, 0] },
    'tag': '1011'
  }, { 'anchor': { 'type': 'Point', 'value': [-997.5, -509.28, 23.9] }, 'offset': [0, 0, 5], 'content': '<div style="background-color:rgba(255, 255, 255, 0.8);">消防设备<br/>编号：1012</div>', 'contentOffset': [0, 0], 'appearance': { 'anchorColor': [0, 0, 1], 'offsetColor': [1, 0, 0] }, 'tag': '1012' }, { 'anchor': { 'type': 'Point', 'value': [-993.22, -499.33, 23.9] }, 'offset': [0, 0, 5], 'content': '<div style="background-color:rgba(255, 255, 255, 0.8);">消防设备<br/>编号：1013</div>', 'contentOffset': [0, 0], 'appearance': { 'anchorColor': [0, 0, 1], 'offsetColor': [1, 0, 0] }, 'tag': '1013' }, { 'anchor': { 'type': 'Point', 'value': [-990.88, -428.94, 23.9] }, 'offset': [0, 0, 5], 'content': '<div style="background-color:rgba(255, 255, 255, 0.8);">消防设备<br/>编号：1014</div>', 'contentOffset': [0, 0], 'appearance': { 'anchorColor': [0, 0, 1], 'offsetColor': [1, 0, 0] }, 'tag': '1014' }, { 'anchor': { 'type': 'Point', 'value': [-966.3, -429.78, 23.9] }, 'offset': [0, 0, 5], 'content': '<div style="background-color:rgba(255, 255, 255, 0.8);">消防设备<br/>编号：1015</div>', 'contentOffset': [0, 0], 'appearance': { 'anchorColor': [0, 0, 1], 'offsetColor': [1, 0, 0] }, 'tag': '1015' }, {
    'anchor': {
      'type': 'Polyline',
      'path': [
        [-966.58, -501.25, 2.96],
        [-965.66, -501.13, 3.49],
        [-965.28, -501.17, 4.01],
        [-964.29, -501.03, 4.54],
        [-963.05, -501.2, 5.06],
        [-960.7, -501.08, 5.06],
        [-960.63, -505.25, 5.06],
        [-961.69, -505.61, 5.06],
        [-962.58, -505.55, 5.06],
        [-966.6, -505.57, 7.16],
        [-971.12, -505.23, 9.78],
        [-972.78, -505.23, 10.83],
        [-974.04, -505.2, 11.36],
        [-975.55, -505.12, 12.41],
        [-976.53, -505.13, 12.93],
        [-977.14, -505.2, 12.93],
        [-977.83, -505.17, 12.93],
        [-979.21, -505.27, 12.93],
        [-980.01, -505.3, 12.93],
        [-980.86, -505.37, 12.93],
        [-981.45, -505.32, 13.46],
        [-982.42, -505.35, 13.98],
        [-982.91, -505.47, 13.98],
        [-984.4, -505.46, 15.03],
        [-985.4, -505.37, 15.56],
        [-986.22, -505.37, 16.08],
        [-986.94, -505.36, 16.61],
        [-987.75, -505.37, 16.61]
      ]
    },
    'offset': [0, 0, 5],
    'content': '<div style="background-color:rgba(255, 255, 255, 0.8);">疏散路径<br/>编号：1001</div>',
    'contentOffset': [0, 0],
    'appearance': { 'anchorColor': [0, 1, 0], 'offsetColor': [1, 0, 0] },
    'tag': '1001'
  }]
};
viewState = {
  'viewport': {
    'name': '',
    'eye': [-1081.2413346131302, -521.7503682286529, 146.83574996921877],
    'target': [-982.9608154296876, -480.3229370117187, 12.433087348938045],
    'up': [0.7218214525329707, 0.3042638441897339, 0.6216086419782769],
    'worldUpVector': [0, 0, 1],
    'pivotPoint': [-982.9608154296875, -480.32293701171875, 12.433087348937988],
    'distanceToOrbit': 171.57904367265218,
    'aspectRatio': 1.9814241486068112,
    'projection': 'perspective',
    'isOrthographic': false,
    'fieldOfView': 45
  }
};
cutplanes = {
  'B1': { max: 3.66, min: -6.89 },
  'F1': { max: (4.46 - 14), min: (-14.57 - 14) },
  'F2': { max: -24.33, min: 13.78 },
};
yuanquData = {
  'version': '1.0.0',
  'items': [{
    'anchor': {
      'type': 'Polyline',
      'path': [
        [-782.08,
          41.21,
          1
        ],
        [-786.44,
          343.12,
          1
        ],
        [-1005.37,
          332.08,
          1
        ],
        [-998.89, -248.04,
          1
        ],
        [-789.63, -252.55,
          1
        ],
        [-781.38,
          41.45,
          1
        ]
      ]
    },
    'offset': [
      0,
      0,
      0
    ],
    'content': '<div style="background-color:rgba(255, 0, 0, 0.8);">视频周界<br/>编号：1012</div>',
    'contentOffset': [
      0,
      0
    ],
    'appearance': {
      'anchorColor': [
        1,
        0,
        0
      ],
      'offsetColor': [
        1,
        0,
        0
      ]
    },
    'tag': '1012'
  },
  {
    'anchor': {
      'type': 'Polyline',
      'path': [
        [-1099.66, -255.14,
          1
        ],
        [-756.11, -252.55,
          1
        ],
        [-737.32, -272.21,
          1
        ],
        [-728.64, -402,
          1
        ],
        [-731.84, -685.66,
          1
        ],
        [-704.09, -654.93,
          1
        ],
        [-665.62, -651.87,
          1
        ],
        [-586.82, -673.87,
          1
        ],
        [-507.35, -697.25,
          1
        ],
        [-399.85, -715.97,
          1
        ],
        [-314.73, -727.43,
          1
        ],
        [-224.19, -734.04,
          1
        ],
        [-142.36, -741.27,
          1
        ],
        [-106.04, -748.8,
          1
        ],
        [-66.23, -825.59,
          1
        ],
        [-50.7, -899.8,
          1
        ],
        [-23.86, -1028.13,
          1
        ],
        [-30.93, -1105.54,
          1
        ],
        [-21.57, -1159.14,
          1
        ]
      ]
    },
    'offset': [
      0,
      0,
      0
    ],
    'content': '<div style="background-color:rgba(0, 255, 0, 0.8);">路径规划或巡更轨迹<br/>编号：1004</div>',
    'contentOffset': [
      0,
      0
    ],
    'appearance': {
      'anchorColor': [
        0,
        1,
        0
      ],
      'offsetColor': [
        1,
        0,
        0
      ]
    },
    'tag': '1004'
  },
  {
    'anchor': {
      'type': 'Polygon',
      'vertices': [
        [-563.54,
          908.62,
          1
        ],
        [-880.63,
          775.14,
          1
        ],
        [-880.9,
          1081.02,
          1
        ],
        [-254.49,
          1081.03,
          1
        ],
        [-252.22,
          764.95,
          1
        ],
        [-879.98,
          774.36,
          1
        ]
      ]
    },
    'offset': [
      0,
      0,
      0
    ],
    'content': '<div style="background-color:rgba(255, 153, 0, 0.8);">功能间或区域<br/>编号：1003</div>',
    'contentOffset': [
      0,
      0
    ],
    'appearance': {
      'anchorColor': [
        1,
        0.6,
        0
      ],
      'offsetColor': [
        1,
        0,
        0
      ]
    },
    'tag': '1003'
  },
  {
    'anchor': {
      'type': 'Point',
      'value': [-48.37,
        913.23, -3.27
      ]
    },
    'offset': [
      0,
      0,
      0
    ],
    'content': '<div style="background-color:rgba(255, 255, 255, 0.8);">设备分布<br/>编号：1006</div>',
    'contentOffset': [
      0,
      0
    ],
    'appearance': {
      'anchorColor': [
        1,
        0,
        0
      ],
      'offsetColor': [
        1,
        0,
        0
      ]
    },
    'tag': '1006'
  },
  {
    'anchor': {
      'type': 'Point',
      'value': [
        279.34,
        914.24, -3.27
      ]
    },
    'offset': [
      0,
      0,
      0
    ],
    'content': '<div style="background-color:rgba(255, 255, 255, 0.8);">位置规划<br/>编号：1007</div>',
    'contentOffset': [
      0,
      0
    ],
    'appearance': {
      'anchorColor': [
        1,
        0,
        0
      ],
      'offsetColor': [
        1,
        0,
        0
      ]
    },
    'tag': '1007'
  },
  {
    'anchor': {
      'type': 'Point',
      'value': [
        582.29,
        906.3, -3.27
      ]
    },
    'offset': [
      0,
      0,
      0
    ],
    'content': '<div style="background-color:rgba(255, 255, 255, 0.8);">对象状态1<br/>编号：1008</div>',
    'contentOffset': [
      0,
      0
    ],
    'appearance': {
      'anchorColor': [
        0,
        0,
        0
      ],
      'offsetColor': [
        1,
        0,
        0
      ]
    },
    'tag': '1008'
  },
  {
    'anchor': {
      'type': 'Point',
      'value': [
        581.18,
        1265.68, -3.27
      ]
    },
    'offset': [
      0,
      0,
      0
    ],
    'content': '<div style="background-color:rgba(255, 255, 255, 0.8);">对象状态2<br/>编号：1009</div>',
    'contentOffset': [
      0,
      0
    ],
    'appearance': {
      'anchorColor': [
        0,
        1,
        0
      ],
      'offsetColor': [
        1,
        0,
        0
      ]
    },
    'tag': '1009'
  },
  {
    'anchor': {
      'type': 'Point',
      'value': [
        259.16,
        1259.13, -3.27
      ]
    },
    'offset': [
      0,
      0,
      0
    ],
    'content': '<div style="background-color:rgba(255, 255, 255, 0.8);">对象状态3<br/>编号：1010</div>',
    'contentOffset': [
      0,
      0
    ],
    'appearance': {
      'anchorColor': [
        0,
        0,
        1
      ],
      'offsetColor': [
        1,
        0,
        0
      ]
    },
    'tag': '1010'
  },
  {
    'anchor': {
      'type': 'Point',
      'value': [-61.63,
        1271.79, -3.27
      ]
    },
    'offset': [
      0,
      0,
      0
    ],
    'content': '<div style="background-color:rgba(255, 255, 255, 0.8);">对象状态4<br/>编号：1011</div>',
    'contentOffset': [
      0,
      0
    ],
    'appearance': {
      'anchorColor': [
        1,
        1,
        0
      ],
      'offsetColor': [
        1,
        0,
        0
      ]
    },
    'tag': '1011'
  }
  ]
};